package cn.jobstart.service;

import cn.jobstart.es.vo.ResumeEsVO;
import cn.jobstart.modelExt.ResumeBasicExt;
import cn.jobstart.searchExt.ResumeBasicSearchExt;
import cn.jobstart.pubInter.IBaseService;

import java.util.List;


/**
*    @author sunke
*    @Date 2023-09-06 15:00:21
*    @description ResumeBasicService      简历基础表
*/
public interface IResumeBasicService extends IBaseService<ResumeBasicExt, ResumeBasicSearchExt,String> {


    /**
     * 得到共得到简历数
     * @param talentSubscriptionTaskId
     * @return
     */
    int getCountByTalentSubscriptionTaskId(String talentSubscriptionTaskId);

    ResumeBasicExt getDetailByOldResumeId(String oldResumeId);

    /**
     * 根据人ID 找到简历
     * @param personId
     * @return
     */
    List<ResumeBasicExt> getListByPersonId(String personId);

    /**
     * 只查询一个id
     * @param search
     * @return
     */
    List<String> getIdListBySearch(ResumeBasicSearchExt search);



    ResumeBasicExt getMiniDetailByOldId(String oldId);


}